<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

<jsp:include page="../bs/bs.jsp"></jsp:include>

<nav class="navbar navbar-inverse">
    <div class="container-fluid">
        <!-- Brand and toggle get grouped for better mobile display -->
        <div class="navbar-header">
            <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
                <span class="sr-only">Toggle navigation</span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
            </button>
            <a class="navbar-brand" href="#">市第二人民医院</a>
        </div>

        <!-- Collect the nav links, forms, and other content for toggling -->
        <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
            <ul class="nav navbar-nav">
                <li class="active"><a href="#">首页</a></li>
                <li><a href="#about">关于我们</a></li>
                <li><a href="/ol.jsp">在线预约</a></li>
                <li><a href="#contact">医疗咨询</a></li>
                <li><a href="#contact">联系我们</a></li>
            </ul>

            <ul class="nav navbar-nav navbar-right">
                <c:if test="${empty u }">
                    <li><a href="login.jsp">登录</a></li>
                    <li><a href="reg.jsp">注册</a></li>
                </c:if>
                <c:if test="${!empty u }">
                    <li><a href="info.jsp">欢迎你${u.ui.drealname }</a></li>
                    <li><a href="${pageContext.request.contextPath}/logout">注销</a></li>
                </c:if>
                <li><a href="#contact">   </a></li>
                <li><a href="#contact"></a></li>
            </ul>

        </div><!-- /.navbar-collapse -->
    </div><!-- /.container-fluid -->
</nav>